package com.fand.configuration.dto;

import java.util.List;

import javax.persistence.Transient;

import com.fand.configuration.po.DictionaryTy;

/**
 * 字典类型
 * 
 * @author yaoHT
 */
public class DictionaryTyDto extends DictionaryTy {
	/**
	 * 版本号
	 */
	@Transient
	private static final long serialVersionUID = 535531373828039453L;
	
	@Transient
	private List<DictionaryTyDto> childs;
	
	/**
	 * 字典编号
	 */
	@Transient
	private String dictionaryCo;
	
	@Transient
	private List<DictionaryDto> dictionaryList;
	
	/**
	 * 标识集合
	 */
	@Transient
	private String[] ids;
	
	/**
	 * 分页号
	 */
	@Transient
	int paginationNo;
	
	/**
	 * 分页大小
	 */
	@Transient
	int paginationSize;
	
	/**
	 * 父级编号
	 */
	@Transient
	private String parentCo;
	
	/**
	 * 父级名称
	 */
	@Transient
	private String parentNa;
	
	public List<DictionaryTyDto> getChilds() {
		return this.childs;
	}
	
	public String getDictionaryCo() {
		return this.dictionaryCo;
	}
	
	public List<DictionaryDto> getDictionaryList() {
		return this.dictionaryList;
	}
	
	/**
	 * @return 标识集合
	 */
	public String[] getIds() {
		return this.ids;
	}
	
	/**
	 * 获取
	 * 
	 * @return 分页号
	 */
	public int getPaginationNo() {
		return this.paginationNo;
	}
	
	/**
	 * 获取
	 * 
	 * @return 分页大小
	 */
	public int getPaginationSize() {
		return this.paginationSize;
	}
	
	public String getParentCo() {
		return this.parentCo;
	}
	
	public String getParentNa() {
		return this.parentNa;
	}
	
	public void setChilds(final List<DictionaryTyDto> childs) {
		this.childs = childs;
	}
	
	public void setDictionaryCo(final String dictionaryCo) {
		this.dictionaryCo = dictionaryCo;
	}
	
	public void setDictionaryList(final List<DictionaryDto> dictionaryList) {
		this.dictionaryList = dictionaryList;
	}
	
	/**
	 * 获取
	 * 
	 * @param ids
	 *            标识集合
	 * @return 字典类型
	 */
	public DictionaryTyDto setIds(final String[] ids) {
		this.ids = ids;
		
		return this;
	}
	
	/**
	 * 设置
	 * 
	 * @param paginationNo
	 *            分页号
	 * @return 字典类型
	 */
	public DictionaryTyDto setPaginationNo(final int paginationNo) {
		this.paginationNo = paginationNo;
		
		return this;
	}
	
	/**
	 * 设置
	 * 
	 * @param paginationSize
	 *            分页大小
	 * @return 字典类型
	 */
	public DictionaryTyDto setPaginationSize(final int paginationSize) {
		this.paginationSize = paginationSize;
		
		return this;
	}
	
	public void setParentCo(final String parentCo) {
		this.parentCo = parentCo;
	}
	
	public void setParentNa(final String parentNa) {
		this.parentNa = parentNa;
	}
}